package com.guodi.map.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @描述: 专题图模板表 前端控制器
 * @作者: 陈宏成
 * @日期: 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("map_thematic_template")
@ApiModel(value="MapThematicTemplate对象", description="专题图模板表")
public class MapThematicTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "模板名称")
    @TableField(value = "name",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String name;

    @ApiModelProperty(value = "模板缩略图路径")
    @TableField(value = "thumbnail_path",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String thumbnailPath;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "creator",updateStrategy = FieldStrategy.NEVER)
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time",updateStrategy = FieldStrategy.NEVER)
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "modifier",insertStrategy = FieldStrategy.NEVER)
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "modify_time",insertStrategy = FieldStrategy.NEVER)
    private Date modifyTime;

    @ApiModelProperty(value = "模板文件名")
    @TableField(value = "file_name",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String fileName;


}
